]> dgit.raspbian.org Git - gnome-shell.git/commit
weather: Track whether a location was set
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 19 Mar 2017 13:42:35 +0000 (14:42 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 20 Mar 2017 18:02:08 +0000 (19:02 +0100)
commitd393ca4f09cc04d28eed92a2bc57fb01447a16b1
tree9bcc2352bff247c77530e744688abe1d102e7ac9
parenta786f0bcd2087a34694d67da157fdfea7f98ce47
weather: Track whether a location was set

Setting GWeatherInfo:location to null helpfully doesn't mean
"no location", but "NYC". This obviously isn't what we want
to show users, so track the location validity separately and
consider it when updating the label shown to users.

https://bugzilla.gnome.org/show_bug.cgi?id=780252
js/misc/weather.js
js/ui/dateMenu.js